package com.yyds.mapper;

import com.yyds.pojo.VaccineStatus;
import com.yyds.vo.EchartPieVo;
import com.yyds.vo.StatusInfoVo;
import com.yyds.vo.VaccineStatusVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VaccineStatusMapper {

    //添加居民状态信息
    public Integer insertVaccineStatusMapper(VaccineStatus status);

    //删除居民状态信息
    public Integer deleteVaccineStatusMapper(Integer status_id);
    //删除部分居民状态信息
    public Integer deleteAllVaccineStatusMapper(List<Integer> list);

    //修改居民状态信息
    public Integer updateVaccineStatusMapper(@Param("oldVaccineStatus") VaccineStatus oldVaccineStatus,@Param("newVaccineStatus") VaccineStatus newVaccineStatus);

    //查询某个居民状态信息
    public VaccineStatus querySimpleVaccineStatusMapper(Integer status_id);
    //查询全部居民状态
    public List<EchartPieVo> queryStatusStatusMapper();
    //查询全部居民状态2
    public List<StatusInfoVo> queryStatusInfoVoMapper();
}
